Adwaita: reduce padding on path bars
authorLapo Calamandrei <calamandrei@gmail.com>
Tue, 22 Jul 2014 12:33:44 +0000 (14:33 +0200)
committerLapo Calamandrei <calamandrei@gmail.com>
Tue, 22 Jul 2014 12:35:01 +0000 (14:35 +0200)
gtk/resources/theme/Adwaita/_common.scss
gtk/resources/theme/Adwaita/gtk-contained-dark.css
gtk/resources/theme/Adwaita/gtk-contained.css

index 29ef886eaac965779915edc07a185245c9870793..2ea1a015f6036ecb40202bf494f82ec2a2e21246 100644 (file)
@@ -914,6 +914,21 @@ GtkComboBox {
   }
 }
 
+/************
+ * Pathbars *
+ ************/
+
+.path-bar .button {
+  padding-left: 4px;
+  padding-right: 4px;
+  &:first-child { padding-left: 8px; }
+  &:last-child { padding-right: 8px; }
+  &:only-child {
+    padding-left: 12px;
+    padding-right: 12px;
+  }
+}
+
 /**************
  * Tree Views *
  **************/
index 88e428d8ba64e297607ff1f87aa3bfbfc81bc672..48821dbe6ad16c686f36a9f2c8b3c431ef7e9738 100644 (file)
@@ -1067,6 +1067,20 @@ GtkComboBox {
   .header-bar {
     border-radius: 0; }
 
+/************
+ * Pathbars *
+ ************/
+.path-bar .button {
+  padding-left: 4px;
+  padding-right: 4px; }
+  .path-bar .button:first-child {
+    padding-left: 8px; }
+  .path-bar .button:last-child {
+    padding-right: 8px; }
+  .path-bar .button:only-child {
+    padding-left: 12px;
+    padding-right: 12px; }
+
 /**************
  * Tree Views *
  **************/
index 5e6dc6aab274ec8b09c2f5433007f0d05fab1fa3..80371568153c406fcb24ad2dcf10e221671426bb 100644 (file)
@@ -1059,6 +1059,20 @@ GtkComboBox {
   .header-bar {
     border-radius: 0; }
 
+/************
+ * Pathbars *
+ ************/
+.path-bar .button {
+  padding-left: 4px;
+  padding-right: 4px; }
+  .path-bar .button:first-child {
+    padding-left: 8px; }
+  .path-bar .button:last-child {
+    padding-right: 8px; }
+  .path-bar .button:only-child {
+    padding-left: 12px;
+    padding-right: 12px; }
+
 /**************
  * Tree Views *
  **************/